package com.leha.forum.lehare.service;

import com.leha.forum.lehare.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user_role】的数据库操作Service
* @createDate 2025-04-15 21:44:28
*/
public interface UserRoleService extends IService<UserRole> {
    boolean deleteByRoleId(Integer roleId);

    List<UserRole> getUserRoles(Long userId);
}
